@import "../tabs/index";

.nut-theme-dark {
  .nut-tab-pane {
    background: $dark-background2;
  }
}

.nut-tab-pane {
  box-sizing: border-box;
  display: block;
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  padding: $tab-pane-padding;
  overflow: auto;
  word-break: break-all;
  background: $tab-pane-background;

  &.inactive {
    height: 0;
    overflow: visible;
  }
}
